var t = getApp();

Page({
    data: {
        total: 0
    },
    onShow: function() {
        this.getData();
    },
    getData: function() {
        var a = this, e = t.getNetAddresss("plugin.full-return.frontend.queue.index");
        t._getNetWork({
            url: e,
            data: {},
            success: function(t) {
                1 === t.data.result ? (wx.setNavigationBarTitle({
                    title: t.data.data.name
                }), a.setData({
                    total: t.data.data.queue_total
                })) : wx.showToast({
                    title: t.data.msg,
                    icon: "none"
                });
            }
        });
    }
});